package leecode

import (
	"strconv"
	"strings"
)

func validNumber(s string) bool {
	s = strings.ReplaceAll(s, " ", "")
	_, err := strconv.Atoi(s)
	if err != nil {
		return false
	}
	return true
}
